package com.example.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Hello
 * @since 2024-07-13
 */
@Getter
@Setter
@TableName("menu")
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "dish_id", type = IdType.AUTO)
    private Integer dishId;

    @TableField("restaurant_id")
    private Integer restaurantId;

    @TableField("category_id")
    private Byte categoryId;

    @TableField("dish_name")
    private String dishName;

    @TableField("dish_image")
    private String dishImage;

    @TableField("dish_rating")
    private BigDecimal dishRating;

    @TableField("dish_reviews")
    private String dishReviews;

    @TableField("dish_description")
    private String dishDescription;

    @TableField("dish_price")
    private BigDecimal dishPrice;

    @TableField("dietaryRestrictions")
    private Integer dietaryRestrictions;

    @TableField("isoffshelves")
    private Boolean isoffshelves;

    @TableField("issoldout")
    private Boolean issoldout;

    /**
     * 月销量
     */
    @TableField("monthly_sales")
    private Integer monthlySales;
}
